/*-------------------------------------------------------------------------
	created:	2010/09/16  17:50
	filename: 	e:\Project_SVN\Server\GamesScene\GameScene.cpp
	author:		Deeple

	purpose:
---------------------------------------------------------------------------*/

#pragma  once
#include "GameInterface.h"
#include "./MsgDefine.h"

GameInterface g_eventhandle;
IGame* g_pGame = NULL;

void GameInterface::OnCreate(IGame* pScene, UI32 self)
{

}

void GameInterface::OnDestroy(IGame* pScene, UI32 self, bool bSysRunning)
{

}

int GameInterface::OnCreateRole(IGame* pSystem, UI32 role, const char* rolename, const char* proplist)
{
    return CE_OK;
}

void GameInterface::OnDeleteRole(IGame* pSystem, const char* rolename)
{

}

void GameInterface::OnHeartBeat(IGame* pScene, UI32 self, UI32 selfType, UI32 nBeat, OBJ_POSI_INFO* info)
{

}

void GameInterface::OnGlobalMessage(IGame* pScene, UI32 self, UI32 msgType, CMsgTyped* pmsg)
{

}

void GameInterface::OnControlMessage(IGame* pScene, UI32 self, UI32 type, const char* json)
{

}

